/**
 * 
 */
package com.eshopper.product.service;

import java.util.List;

import com.eshopper.product.document.ProductDocument;
import com.eshopper.product.model.Product;

/**
 * @author M1024355
 *
 */
public interface ProductIndexService {

    public void addToIndex(Product productEntry);

    public void deleteFromIndex(Long id);

    public List<ProductDocument> search(String searchTerm);

    public void update(Product productEntry);
    
}
